$(function() {
	rt();
});
var maxd = 0;
function rt(){
	var uid=getParameter("uid");
	var urlStr = serverPath + "/app/doctor/diabetes/talkView.do";
	var jsonStr = '{method:"getHealtherInfo",requestlist:[{}],uid:"'+uid+'" , version:"1.0", requestsource:"diabetes"}' ;
	
	UseAjax(urlStr, jsonStr, document.cookie, guidedesc, '1');
}

function guidedesc(nodeArrays) {
	var nodeArray=nodeArrays.resultlist[0].resultlist;
	if (nodeArray) {
		var shanchang = nodeArray.specialskills;
		var jinli = nodeArray.experience;
	
		
		$("#guidedesc").show();
			var text = '';
			
			text = text + '<h4>擅长：</h4><p>'+shanchang+'</p><h4>从业经历：</h4><p>'+jinli+'</p>';
			
			$('#content').html(text);
			$('#content').show();
		
	}
}

// 获取url参数
function getParameter(param) {
	var query = window.location.search;
	var iLen = param.length;
	var iStart = query.indexOf(param);
	if (iStart == -1)
		return "";
	iStart += iLen + 1;
	var iEnd = query.indexOf("&", iStart);
	if (iEnd == -1)
		return query.substring(iStart);
	return query.substring(iStart, iEnd);
}